package com.bingo.demo;

import com.bingo.config.AnnotationConfig;
import com.bingo.service.IOCService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 循环依赖演示
 * @author 25452
 */
public class AnnotationIOCDemo2 {
	public static void main (String args[]){
		ApplicationContext context = new AnnotationConfigApplicationContext(AnnotationConfig.class);
		X x=context.getBean(X.class);
		System.out.println();
	}
}
